<?php

$status = 'success';
switch ($status) {
    case 'success';
    case 'info':
        echo 'success & info';
        break;
    case 'error':
        echo 'error';
        break;
    default:
        echo "i don\'t know";
}